home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19950929-19951130 / 000339_news@columbia.edu_Mon Nov 6 15:51:08 1995.msg < prev    next >
Internet Message Format  |  2020-01-01  |  2KB

  1. Received: from apakabar.cc.columbia.edu by watsun.cc.columbia.edu with SMTP id AA01910
  2.   (5.65c+CU/IDA-1.4.4/HLK for <kermit.misc@watsun.cc.columbia.edu>); Mon, 6 Nov 1995 10:51:18 -0500
  3. Received: by apakabar.cc.columbia.edu id AA03266
  4.   (5.65c+CU/IDA-1.4.4/HLK for kermit.misc@watsun); Mon, 6 Nov 1995 10:51:15 -0500
  5. Path: news.columbia.edu!watsun.cc.columbia.edu!fdc
  6. From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
  7. Newsgroups: comp.protocols.kermit.misc
  8. Subject: Re: control string from host
  9. Date: 6 Nov 1995 15:51:08 GMT
  10. Organization: Columbia University
  11. Lines: 18
  12. Message-Id: <47latc$35r@apakabar.cc.columbia.edu>
  13. References: <47h6mb$pg8@tst.hk.super.net>
  14. Nntp-Posting-Host: watsun.cc.columbia.edu
  15. Apparently-To: kermit.misc@watsun.cc.columbia.edu
  16.  
  17. In article <47h6mb$pg8@tst.hk.super.net>,
  18. Mr Patrick ShuPui Tam <patrickt@news.hk.super.net> wrote:
  19. >Is there any means to have Kermit to recognize a control string that sent 
  20. >from the host and then execute a dos batch ?  In particular, the host run 
  21. >a cash receipt program, then send out a control string.  After kermit 
  22. >capture this control string, it execute a small DOS batch program which 
  23. >open the cash drawer.
  24. >
  25. Yes, there are numerous ways to do this.  If Kermit is in CONNECT mode you
  26. can use the APC mechanism, documented in the KERMIT.UPD file on your
  27. MS-DOS Kermit diskette, or you can use the PRODUCT macro, which is documented
  28. in the manual, "Using MS-DOS Kermit".
  29.  
  30. But since automated procedures like this are rarely in CONNECT mode, the
  31. real way to do it with a script program.  The method for writing script
  32. programs is documented in detail in the manual.
  33.  
  34. - Frank